package com.njth.beans;

public class User extends BaseBean{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3641316883100972710L;

	private String userName;/* 用户昵称 */

	private String userPass;/* 用户密码 */

	private String realName;/* 用户真实姓名，真实填写，发货备用 */

	private String userHead;/* 用户头像 */

	private String gender;/* 用户性别 */

	private String pid;/* 用户身份证号码 */

	private String zip;/* 用户所在地邮编 */

	private String address;/* 用户所在地地址 */

	private String phone;/* 用户电话 */

	private String email;/* 用户电子邮箱 */

	private String qq;/* 用户QQ */

	private int userType;/* 判断是否为管理员，1为管理员，0为会员 */


	public User() {

	}

	public User(int id, String userName, String userPass, String realName,
			String userHead, String gender, String pid, String zip,
			String address, String phone, String email, String qq,
			int userType) {
		super.setId(id);
		this.userName = userName;
		this.userPass = userPass;
		this.realName = realName;
		this.userHead = userHead;
		this.gender = gender;
		this.pid = pid;
		this.zip = zip;
		this.address = address;
		this.phone = phone;
		this.email = email;
		this.qq = qq;
		this.userType = userType;
	}

	/* 以下为各自属性的SET和GET方法 */
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	



	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getUserHead() {
		return userHead;
	}

	public void setUserHead(String userHead) {
		this.userHead = userHead;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}
}
